﻿using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel.DataAnnotations;
using SDM.ExamPlanner.DTO.Abstract;

namespace SDM.ExamPlanner.DTO
{
    public class Teacher : BaseEntity
    {
        public string Firstname { get; set; }
        public string Lastename { get; set; }
        public string Initials { get; set; }
        public int Cpr { get; set; }
        public float Phone { get; set; }
        [MaxLength(255)]
        public string Email { get; set; }
        public virtual ICollection<Course> Courses { get; set; }
        public string SchoolName { get; set; }
        public bool IsCensor { get; set; }

        public Teacher()
        {
            Courses = new Collection<Course>();
        }
    }
}
